<!DOCTYPE HTML><html><head><title>SLL Service Catalogue Product Service API documentation</title><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="generator" content="https://github.com/kevinrenskers/raml2html 1.6.0"><link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"><link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.1/styles/default.min.css"><script type="text/javascript" src="http://code.jquery.com/jquery-1.11.0.min.js"></script><script type="text/javascript" src="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script><script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.1/highlight.min.js"></script><script type="text/javascript">
        $(document).ready(function() {
            $('.page-header pre code, .top-resource-description pre code').each(function(i, block) {
                hljs.highlightBlock(block);
            });

            $('[data-toggle]').click(function() {
                var selector = $(this).data('target') + ' pre code';
                $(selector).each(function(i, block) {
                    hljs.highlightBlock(block);
                });
            });
            
            
            // open modal on hashes like #_action_get
            $(window).bind('hashchange', function(e) {
                var anchor_id = document.location.hash.substr(1); //strip #
                var element = $('#' + anchor_id);

                // do we have such element + is it a modal?  --> show it
                if (element.length && element.hasClass('modal')) {
                    element.modal('show');
                }
            });

            // execute hashchange on first page load
            $(window).trigger('hashchange');
            
            // remove url fragment on modal hide
            $('.modal').on('hidden.bs.modal', function() {
                if(history && history.replaceState) { 
                    history.replaceState({}, '', '#');
                }
            });
        });
    </script><style>
        .hljs {
            background: transparent;
        }
        .parent {
            color: #999;
        }
        .list-group-item > .badge {
            float: none;
            margin-right: 6px;
        }
        .panel-title > .methods {
            float: right;
        }
        .badge {
            border-radius: 0;
            text-transform: uppercase;
            width: 70px;
            font-weight: normal;
            color: #f3f3f6;
            line-height: normal;
        }
        .badge_get {
            background-color: #63a8e2;
        }
        .badge_post {
            background-color: #6cbd7d;
        }
        .badge_put {
            background-color: #22bac4;
        }
        .badge_delete {
            background-color: #d26460;
        }
        .badge_patch {
            background-color: #ccc444;
        }
        .list-group, .panel-group {
            margin-bottom: 0;
        }
        .panel-group .panel+.panel-white {
            margin-top: 0;
        }
        .panel-group .panel-white {
            border-bottom: 1px solid #F5F5F5;
            border-radius: 0;
        }
        .panel-white:last-child {
            border-bottom-color: white;
            -webkit-box-shadow: none;
            box-shadow: none;
        }
        .panel-white .panel-heading {
            background: white;
        }
        .tab-pane ul {
            padding-left: 2em;
        }
        .tab-pane h2 {
            font-size: 1.2em;
            padding-bottom: 4px;
            border-bottom: 1px solid #ddd;
        }
        .tab-pane h3 {
            font-size: 1.1em;
        }
        .tab-content {
            border-left: 1px solid #ddd;
            border-right: 1px solid #ddd;
            border-bottom: 1px solid #ddd;
            padding: 10px;
        }
        #sidebar {
            margin-top: 30px;
            padding-right: 5px;
            overflow: auto;
            height: 90%;
        }
        .top-resource-description {
            border-bottom: 1px solid #ddd;
            background: #fcfcfc;
            padding: 15px 15px 0 15px;
            margin: -15px -15px 10px -15px;
        }
        .resource-description {
            border-bottom: 1px solid #fcfcfc;
            background: #fcfcfc;
            padding: 15px 15px 0 15px;
            margin: -15px -15px 10px -15px;
        }
        .resource-description p:last-child {
            margin: 0;
        }
        .list-group .badge {
            float: left;
        }
        .method_description {
            margin-left: 85px;
        }
        .method_description p:last-child {
            margin: 0;
        }
        .list-group-item {
            cursor: pointer;
        }
        .list-group-item:hover {
            background-color: #f5f5f5;
        }
    </style></head><body data-spy="scroll" data-target="#sidebar"><div class="container"><div class="row"><div class="col-md-9" role="main"><div class="page-header"><h1>SLL Service Catalogue Product Service API documentation <small>version 1.0</small></h1><p>http://localhost:8080/product</p><h3 id="General-API-information"><a href="#General-API-information">General API information</a></h3><p>TODO! Description of the Product Service Functions</p></div><div class="panel panel-default"><div class="panel-heading"><h3 id="_products" class="panel-title">ProductService</h3></div><div class="panel-body"><div class="top-resource-description"><p>Service for creating, updating, reading products.</p></div><div class="panel-group"><div class="panel panel-white"><div class="panel-heading"><h4 class="panel-title"><a class="collapsed" data-toggle="collapse" href="#panel__products"><span class="parent"></span>/products</a> <span class="methods"><a href="#_products_get"><span class="badge badge_get">get</span></a> <a href="#_products_post"><span class="badge badge_post">post</span></a> <a href="#_products_put"><span class="badge badge_put">put</span></a></span></h4></div><div id="panel__products" class="panel-collapse collapse"><div class="panel-body"><div class="list-group"><div onclick="window.location.href = '#_products_get'" class="list-group-item"><span class="badge badge_get">get</span><div class="method_description"><p>List all stored Products</p></div><div class="clearfix"></div></div><div onclick="window.location.href = '#_products_post'" class="list-group-item"><span class="badge badge_post">post</span><div class="method_description"><p>Create a new product</p></div><div class="clearfix"></div></div><div onclick="window.location.href = '#_products_put'" class="list-group-item"><span class="badge badge_put">put</span><div class="method_description"><p>Update a product</p></div><div class="clearfix"></div></div></div></div></div><div class="modal fade" tabindex="0" id="_products_get"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_get">get</span> <span class="parent"></span>/products</h4></div><div class="modal-body"><div class="alert alert-info"><p>List all stored Products</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_products_get_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_products_get_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The requested Product information was found and is returned in the body.</p><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "array",
    "description": "a collection of products",
    "items": { "$ref": "product" }
}</code></pre><p><strong>Example</strong>:</p><pre><code>[
  {
    "status" : "ACTIVE",
    "name" : "Product Name",
    "displayName" : "Product Displayname",
    "description : "Product Description",
    "creationTime": 1425410281000,
    "updateTime": 1425410281000,
    "updatedByHsaid" : "SE2321000016-1HF3",
    "codes": [
      {
        "oid" : "1.2.4.5",
        "code" : "157H",
        "description" : "Code description",
        "displayName" : "Code displayname",
        "codeSystem" : "Name of the Code System indicated by the OID"
      }
    ]
  }
]
</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex="0" id="_products_post"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_post">post</span> <span class="parent"></span>/products</h4></div><div class="modal-body"><div class="alert alert-info"><p>Create a new product</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_products_post_request" data-toggle="tab">Request</a></li><li><a href="#_products_post_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_products_post_request"><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "object",
    "description": "A single capacity",
    "properties": {
        "name": { "type": "string", "required": false },
        "productId": { "$ref": "uuidType", "required": false },
        "parentProductId": { "$ref": "uuidType", "required": false },
        "description": { "type": "string", "required": false },
        "status": { "type": "string", "required": true },
        "property": { "$ref": "cvTypeList", "required": false },
        "updatedByHsaid": { "type": "string", "required": false },
        "displayName":  { "type": "string", "required": false }
    }
}</code></pre><p><strong>Example</strong>:</p><pre><code>{
  "name" : "Product Name",
  "description : "Product Description",
  "status" : "ACTIVE",
  "updatedByHsaid" : "SE2321000016-1HF3",
  "displayName" : "Product Displayname"
}
</code></pre></div><div class="tab-pane" id="_products_post_response"><h2>HTTP status code <a href="http://httpstatus.es/201" target="_blank">201</a></h2><p>Creation successful.</p><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "object",
    "description": "A single product",
    "properties": {
      "status": { "type": "string", "required": true },
      "productId": { "type": "string", "required": false },
      "name": { "type": "string", "required": false },
      "displayName": { "type": "string", "required": false },
      "sourceSystemHSAId": { "$ref": "iiType", "required": false },
      "description": { "type": "string", "required": false },
      "requestComment": { "type": "string", "required": false },
      "property": { "$ref": "cvTypeList", "required": false },
      "creationTime": { "type": "string", "format": "date-time", "required": false },
      "updateTime": { "type": "string", "format": "date-time", "required": false },
      "updatedByHsaid": { "type": "string", "required": false },
      "codes": { "$ref": "codeList" }
    }
}</code></pre><p><strong>Example</strong>:</p><pre><code>{
  "status" : "ACTIVE",
  "name" : "Product Name",
  "displayName" : "Product Displayname",
  "description : "Product Description",
  "creationTime": 1425410281000,
  "updateTime": 1425410281000,
  "updatedByHsaid" : "SE2321000016-1HF3",
  "codes": [
    {
      "oid" : "1.2.4.5",
      "code" : "157H",
      "description" : "Code description",
      "displayName" : "Code displayname",
      "CodeSystem" : "Name of the Code System indicated by the OID"
    }
  ]
}
</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex="0" id="_products_put"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_put">put</span> <span class="parent"></span>/products</h4></div><div class="modal-body"><div class="alert alert-info"><p>Update a product</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_products_put_request" data-toggle="tab">Request</a></li><li><a href="#_products_put_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_products_put_request"><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "object",
    "description": "A single capacity",
    "properties": {
        "name": { "type": "string", "required": false },
        "productId": { "$ref": "uuidType", "required": false },
        "parentProductId": { "$ref": "uuidType", "required": false },
        "description": { "type": "string", "required": false },
        "status": { "type": "string", "required": true },
        "property": { "$ref": "cvTypeList", "required": false },
        "updatedByHsaid": { "type": "string", "required": false },
        "displayName":  { "type": "string", "required": false }
    }
}</code></pre><p><strong>Example</strong>:</p><pre><code>{
  "name" : "Product Name",
  "description : "Product Description",
  "status" : "ACTIVE",
  "updatedByHsaid" : "SE2321000016-1HF3",
  "displayName" : "Product Displayname"
}
</code></pre></div><div class="tab-pane" id="_products_put_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>Update successful.</p><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "object",
    "description": "A single product",
    "properties": {
      "status": { "type": "string", "required": true },
      "productId": { "type": "string", "required": false },
      "name": { "type": "string", "required": false },
      "displayName": { "type": "string", "required": false },
      "sourceSystemHSAId": { "$ref": "iiType", "required": false },
      "description": { "type": "string", "required": false },
      "requestComment": { "type": "string", "required": false },
      "property": { "$ref": "cvTypeList", "required": false },
      "creationTime": { "type": "string", "format": "date-time", "required": false },
      "updateTime": { "type": "string", "format": "date-time", "required": false },
      "updatedByHsaid": { "type": "string", "required": false },
      "codes": { "$ref": "codeList" }
    }
}</code></pre><p><strong>Example</strong>:</p><pre><code>{
  "status" : "ACTIVE",
  "name" : "Product Name",
  "displayName" : "Product Displayname",
  "description : "Product Description",
  "creationTime": 1425410281000,
  "updateTime": 1425410281000,
  "updatedByHsaid" : "SE2321000016-1HF3",
  "codes": [
    {
      "oid" : "1.2.4.5",
      "code" : "157H",
      "description" : "Code description",
      "displayName" : "Code displayname",
      "CodeSystem" : "Name of the Code System indicated by the OID"
    }
  ]
}
</code></pre></div></div></div></div></div></div></div><div class="panel panel-white"><div class="panel-heading"><h4 class="panel-title"><a class="collapsed" data-toggle="collapse" href="#panel__products__productName_"><span class="parent">/products</span>/{productName}</a> <span class="methods"><a href="#_products__productName__get"><span class="badge badge_get">get</span></a> <a href="#_products__productName__delete"><span class="badge badge_delete">delete</span></a></span></h4></div><div id="panel__products__productName_" class="panel-collapse collapse"><div class="panel-body"><div class="resource-description"><p>Service for managing the product information for the product with a specific product name</p></div><div class="list-group"><div onclick="window.location.href = '#_products__productName__get'" class="list-group-item"><span class="badge badge_get">get</span><div class="method_description"><p>Returns information about the product with the specified name</p></div><div class="clearfix"></div></div><div onclick="window.location.href = '#_products__productName__delete'" class="list-group-item"><span class="badge badge_delete">delete</span><div class="method_description"><p>Delete the product with the specified product name</p></div><div class="clearfix"></div></div></div></div></div><div class="modal fade" tabindex="0" id="_products__productName__get"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_get">get</span> <span class="parent">/products</span>/{productName}</h4></div><div class="modal-body"><div class="alert alert-info"><p>Returns information about the product with the specified name</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_products__productName__get_request" data-toggle="tab">Request</a></li><li><a href="#_products__productName__get_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_products__productName__get_request"><h3>URI Parameters</h3><ul><li><strong>The name of the Product to operate on.</strong>: <em>required (string )</em></li></ul></div><div class="tab-pane" id="_products__productName__get_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The requested Product was found and is returned in the body.</p><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "object",
    "description": "A single product",
    "properties": {
      "status": { "type": "string", "required": true },
      "productId": { "type": "string", "required": false },
      "name": { "type": "string", "required": false },
      "displayName": { "type": "string", "required": false },
      "sourceSystemHSAId": { "$ref": "iiType", "required": false },
      "description": { "type": "string", "required": false },
      "requestComment": { "type": "string", "required": false },
      "property": { "$ref": "cvTypeList", "required": false },
      "creationTime": { "type": "string", "format": "date-time", "required": false },
      "updateTime": { "type": "string", "format": "date-time", "required": false },
      "updatedByHsaid": { "type": "string", "required": false },
      "codes": { "$ref": "codeList" }
    }
}</code></pre><p><strong>Example</strong>:</p><pre><code>{
  "status" : "ACTIVE",
  "name" : "Product Name",
  "displayName" : "Product Displayname",
  "description : "Product Description",
  "creationTime": 1425410281000,
  "updateTime": 1425410281000,
  "updatedByHsaid" : "SE2321000016-1HF3",
  "codes": [
    {
      "oid" : "1.2.4.5",
      "code" : "157H",
      "description" : "Code description",
      "displayName" : "Code displayname",
      "CodeSystem" : "Name of the Code System indicated by the OID"
    }
  ]
}
</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex="0" id="_products__productName__delete"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_delete">delete</span> <span class="parent">/products</span>/{productName}</h4></div><div class="modal-body"><div class="alert alert-info"><p>Delete the product with the specified product name</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_products__productName__delete_request" data-toggle="tab">Request</a></li><li><a href="#_products__productName__delete_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_products__productName__delete_request"><h3>URI Parameters</h3><ul><li><strong>The name of the Product to operate on.</strong>: <em>required (string )</em></li></ul></div><div class="tab-pane" id="_products__productName__delete_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The deletion was successful</p></div></div></div></div></div></div></div><div class="panel panel-white"><div class="panel-heading"><h4 class="panel-title"><a class="collapsed" data-toggle="collapse" href="#panel__products__productName__codes_"><span class="parent">/products/{productName}</span>/codes/</a> <span class="methods"><a href="#_products__productName__codes__get"><span class="badge badge_get">get</span></a> <a href="#_products__productName__codes__put"><span class="badge badge_put">put</span></a></span></h4></div><div id="panel__products__productName__codes_" class="panel-collapse collapse"><div class="panel-body"><div class="list-group"><div onclick="window.location.href = '#_products__productName__codes__get'" class="list-group-item"><span class="badge badge_get">get</span><div class="method_description"><p>Fetches Code System Codes for the Product with the specified product name.</p></div><div class="clearfix"></div></div><div onclick="window.location.href = '#_products__productName__codes__put'" class="list-group-item"><span class="badge badge_put">put</span><div class="method_description"><p>Sets the entire collection of Code System Codes for the Product with the specified product name.</p></div><div class="clearfix"></div></div></div></div></div><div class="modal fade" tabindex="0" id="_products__productName__codes__get"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_get">get</span> <span class="parent">/products/{productName}</span>/codes/</h4></div><div class="modal-body"><div class="alert alert-info"><p>Fetches Code System Codes for the Product with the specified product name.</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_products__productName__codes__get_request" data-toggle="tab">Request</a></li><li><a href="#_products__productName__codes__get_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_products__productName__codes__get_request"><h3>URI Parameters</h3><ul><li><strong>The name of the Product to operate on.</strong>: <em>required (string )</em></li></ul></div><div class="tab-pane" id="_products__productName__codes__get_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The requested Product was found and its Codes are returned in the body.</p><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "array",
    "description": "a collection of product references",
    "items": { "$ref": "codeSystemCode" }
}</code></pre><p><strong>Example</strong>:</p><pre><code>[
  {
    "oid" : "1.2.4.5",
    "code" : "157H",
    "description" : "Code description",
    "displayName" : "Code displayname",
    "CodeSystem" : "Name of the Code System indicated by the OID"
  }
]
</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex="0" id="_products__productName__codes__put"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_put">put</span> <span class="parent">/products/{productName}</span>/codes/</h4></div><div class="modal-body"><div class="alert alert-info"><p>Sets the entire collection of Code System Codes for the Product with the specified product name.</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_products__productName__codes__put_request" data-toggle="tab">Request</a></li><li><a href="#_products__productName__codes__put_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_products__productName__codes__put_request"><h3>URI Parameters</h3><ul><li><strong>The name of the Product to operate on.</strong>: <em>required (string )</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "array",
    "description": "a collection of product references",
    "items": { "$ref": "codeSystemCode" }
}</code></pre><p><strong>Example</strong>:</p><pre><code>[
  {
    "oid" : "1.2.4.5",
    "code" : "157H",
    "description" : "Code description",
    "displayName" : "Code displayname",
    "CodeSystem" : "Name of the Code System indicated by the OID"
  }
]
</code></pre></div><div class="tab-pane" id="_products__productName__codes__put_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The Code list for the product was successfully replaced.</p><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "array",
    "description": "a collection of product references",
    "items": { "$ref": "codeSystemCode" }
}</code></pre><p><strong>Example</strong>:</p><pre><code>[
  {
    "oid" : "1.2.4.5",
    "code" : "157H",
    "description" : "Code description",
    "displayName" : "Code displayname",
    "CodeSystem" : "Name of the Code System indicated by the OID"
  }
]
</code></pre></div></div></div></div></div></div></div><div class="panel panel-white"><div class="panel-heading"><h4 class="panel-title"><a class="collapsed" data-toggle="collapse" href="#panel__products__productName__add_code"><span class="parent">/products/{productName}</span>/add/code</a> <span class="methods"><a href="#_products__productName__add_code_put"><span class="badge badge_put">put</span></a></span></h4></div><div id="panel__products__productName__add_code" class="panel-collapse collapse"><div class="panel-body"><div class="list-group"><div onclick="window.location.href = '#_products__productName__add_code_put'" class="list-group-item"><span class="badge badge_put">put</span><div class="method_description"><p>Adds the specified code system code to the specified product.</p></div><div class="clearfix"></div></div></div></div></div><div class="modal fade" tabindex="0" id="_products__productName__add_code_put"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_put">put</span> <span class="parent">/products/{productName}</span>/add/code</h4></div><div class="modal-body"><div class="alert alert-info"><p>Adds the specified code system code to the specified product.</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_products__productName__add_code_put_request" data-toggle="tab">Request</a></li><li><a href="#_products__productName__add_code_put_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_products__productName__add_code_put_request"><h3>URI Parameters</h3><ul><li><strong>The name of the Product to operate on.</strong>: <em>required (string )</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "object",
    "description": "A Single code system code",
    "properties": {
        "oid": { "type": "string", "required": true },
        "code": { "type": "string", "required": true },
        "description": { "type": "string", "required": false },
        "displayName": { "type": "string", "required": false },
        "codeSystem": { "type": "string", "required": false }
    }
}</code></pre><p><strong>Example</strong>:</p><pre><code>{
  "oid" : "1.2.4.5",
  "code" : "157H",
  "description" : "Code description",
  "displayName" : "Code displayname",
  "CodeSystem" : "Name of the Code System indicated by the OID"
}
</code></pre></div><div class="tab-pane" id="_products__productName__add_code_put_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The code was added successfully</p></div></div></div></div></div></div></div><div class="panel panel-white"><div class="panel-heading"><h4 class="panel-title"><a class="collapsed" data-toggle="collapse" href="#panel__products_names"><span class="parent">/products</span>/names</a> <span class="methods"><a href="#_products_names_get"><span class="badge badge_get">get</span></a></span></h4></div><div id="panel__products_names" class="panel-collapse collapse"><div class="panel-body"><div class="resource-description"><p>List all Products matching an incoming list of Product names.</p></div><div class="list-group"><div onclick="window.location.href = '#_products_names_get'" class="list-group-item"><span class="badge badge_get">get</span><div class="method_description"></div><div class="clearfix"></div></div></div></div></div><div class="modal fade" tabindex="0" id="_products_names_get"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_get">get</span> <span class="parent">/products</span>/names</h4></div><div class="modal-body"><ul class="nav nav-tabs"><li class="active"><a href="#_products_names_get_request" data-toggle="tab">Request</a></li><li><a href="#_products_names_get_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_products_names_get_request"><h3>Query Parameters</h3><ul><li><strong>productName</strong>: <em>(string )</em><p>A comma seperated list of product names to set. (RAML doesn&#39;t seem to have a way to set this, so it&#39;s just a string for now)</p></li></ul></div><div class="tab-pane" id="_products_names_get_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The requested Product information was found and is returned in the body.</p><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "array",
    "description": "a collection of products",
    "items": { "$ref": "product" }
}</code></pre><p><strong>Example</strong>:</p><pre><code>[
  {
    "status" : "ACTIVE",
    "name" : "Product Name",
    "displayName" : "Product Displayname",
    "description : "Product Description",
    "creationTime": 1425410281000,
    "updateTime": 1425410281000,
    "updatedByHsaid" : "SE2321000016-1HF3",
    "codes": [
      {
        "oid" : "1.2.4.5",
        "code" : "157H",
        "description" : "Code description",
        "displayName" : "Code displayname",
        "CodeSystem" : "Name of the Code System indicated by the OID"
      }
    ]
  }
]
</code></pre></div></div></div></div></div></div></div><div class="panel panel-white"><div class="panel-heading"><h4 class="panel-title"><a class="collapsed" data-toggle="collapse" href="#panel__products_names_namebeginswith"><span class="parent">/products/names</span>/namebeginswith</a> <span class="methods"><a href="#_products_names_namebeginswith_get"><span class="badge badge_get">get</span></a></span></h4></div><div id="panel__products_names_namebeginswith" class="panel-collapse collapse"><div class="panel-body"><div class="resource-description"><p>List all Products whos name begins with the provided string.</p></div><div class="list-group"><div onclick="window.location.href = '#_products_names_namebeginswith_get'" class="list-group-item"><span class="badge badge_get">get</span><div class="method_description"></div><div class="clearfix"></div></div></div></div></div><div class="modal fade" tabindex="0" id="_products_names_namebeginswith_get"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_get">get</span> <span class="parent">/products/names</span>/namebeginswith</h4></div><div class="modal-body"><ul class="nav nav-tabs"><li class="active"><a href="#_products_names_namebeginswith_get_request" data-toggle="tab">Request</a></li><li><a href="#_products_names_namebeginswith_get_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_products_names_namebeginswith_get_request"><h3>Query Parameters</h3><ul><li><strong>productName</strong>: <em>(string )</em><p>A query string for product beginning with this String.</p></li></ul></div><div class="tab-pane" id="_products_names_namebeginswith_get_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The requested Product information was found and is returned in the body.</p><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "array",
    "description": "a collection of products",
    "items": { "$ref": "product" }
}</code></pre><p><strong>Example</strong>:</p><pre><code>[
  {
    "status" : "ACTIVE",
    "name" : "Product Name",
    "displayName" : "Product Displayname",
    "description : "Product Description",
    "creationTime": 1425410281000,
    "updateTime": 1425410281000,
    "updatedByHsaid" : "SE2321000016-1HF3",
    "codes": [
      {
        "oid" : "1.2.4.5",
        "code" : "157H",
        "description" : "Code description",
        "displayName" : "Code displayname",
        "CodeSystem" : "Name of the Code System indicated by the OID"
      }
    ]
  }
]
</code></pre></div></div></div></div></div></div></div><div class="panel panel-white"><div class="panel-heading"><h4 class="panel-title"><a class="collapsed" data-toggle="collapse" href="#panel__products_namecontains"><span class="parent">/products</span>/namecontains</a> <span class="methods"><a href="#_products_namecontains_get"><span class="badge badge_get">get</span></a></span></h4></div><div id="panel__products_namecontains" class="panel-collapse collapse"><div class="panel-body"><div class="resource-description"><p>List all Products whos name contains the provided string.</p></div><div class="list-group"><div onclick="window.location.href = '#_products_namecontains_get'" class="list-group-item"><span class="badge badge_get">get</span><div class="method_description"></div><div class="clearfix"></div></div></div></div></div><div class="modal fade" tabindex="0" id="_products_namecontains_get"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_get">get</span> <span class="parent">/products</span>/namecontains</h4></div><div class="modal-body"><ul class="nav nav-tabs"><li class="active"><a href="#_products_namecontains_get_request" data-toggle="tab">Request</a></li><li><a href="#_products_namecontains_get_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_products_namecontains_get_request"><h3>Query Parameters</h3><ul><li><strong>productName</strong>: <em>(string )</em><p>The query string.</p></li></ul></div><div class="tab-pane" id="_products_namecontains_get_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The requested Product information was found and is returned in the body.</p><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "array",
    "description": "a collection of products",
    "items": { "$ref": "product" }
}</code></pre><p><strong>Example</strong>:</p><pre><code>[
  {
    "status" : "ACTIVE",
    "name" : "Product Name",
    "displayName" : "Product Displayname",
    "description : "Product Description",
    "creationTime": 1425410281000,
    "updateTime": 1425410281000,
    "updatedByHsaid" : "SE2321000016-1HF3",
    "codes": [
      {
        "oid" : "1.2.4.5",
        "code" : "157H",
        "description" : "Code description",
        "displayName" : "Code displayname",
        "codeSystem" : "Name of the Code System indicated by the OID"
      }
    ]
  }
]
</code></pre></div></div></div></div></div></div></div><div class="panel panel-white"><div class="panel-heading"><h4 class="panel-title"><a class="collapsed" data-toggle="collapse" href="#panel__products_codes"><span class="parent">/products</span>/codes</a> <span class="methods"><a href="#_products_codes_get"><span class="badge badge_get">get</span></a></span></h4></div><div id="panel__products_codes" class="panel-collapse collapse"><div class="panel-body"><div class="resource-description"><p>List all Products whos code name matches the query parameter</p></div><div class="list-group"><div onclick="window.location.href = '#_products_codes_get'" class="list-group-item"><span class="badge badge_get">get</span><div class="method_description"></div><div class="clearfix"></div></div></div></div></div><div class="modal fade" tabindex="0" id="_products_codes_get"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_get">get</span> <span class="parent">/products</span>/codes</h4></div><div class="modal-body"><ul class="nav nav-tabs"><li class="active"><a href="#_products_codes_get_request" data-toggle="tab">Request</a></li><li><a href="#_products_codes_get_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_products_codes_get_request"><h3>Query Parameters</h3><ul><li><strong>codeName</strong>: <em>(string )</em><p>The query string.</p></li></ul></div><div class="tab-pane" id="_products_codes_get_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The requested Product information was found and is returned in the body.</p><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "array",
    "description": "a collection of products",
    "items": { "$ref": "product" }
}</code></pre><p><strong>Example</strong>:</p><pre><code>[
  {
    "status" : "ACTIVE",
    "name" : "Product Name",
    "displayName" : "Product Displayname",
    "description : "Product Description",
    "creationTime": 1425410281000,
    "updateTime": 1425410281000,
    "updatedByHsaid" : "SE2321000016-1HF3",
    "codes": [
      {
        "oid" : "1.2.4.5",
        "code" : "157H",
        "description" : "Code description",
        "displayName" : "Code displayname",
        "codeSystem" : "Name of the Code System indicated by the OID"
      }
    ]
  }
]
</code></pre></div></div></div></div></div></div></div><div class="panel panel-white"><div class="panel-heading"><h4 class="panel-title"><a class="collapsed" data-toggle="collapse" href="#panel__products_codesystems__codeSystem__codes__codeName_"><span class="parent">/products</span>/codesystems/{codeSystem}/codes/{codeName}</a> <span class="methods"><a href="#_products_codesystems__codeSystem__codes__codeName__get"><span class="badge badge_get">get</span></a></span></h4></div><div id="panel__products_codesystems__codeSystem__codes__codeName_" class="panel-collapse collapse"><div class="panel-body"><div class="resource-description"><p>Service for managing the product information for the product with a specific product name</p></div><div class="list-group"><div onclick="window.location.href = '#_products_codesystems__codeSystem__codes__codeName__get'" class="list-group-item"><span class="badge badge_get">get</span><div class="method_description"><p>Lists all Products matching the provided Code System and Name</p></div><div class="clearfix"></div></div></div></div></div><div class="modal fade" tabindex="0" id="_products_codesystems__codeSystem__codes__codeName__get"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_get">get</span> <span class="parent">/products</span>/codesystems/{codeSystem}/codes/{codeName}</h4></div><div class="modal-body"><div class="alert alert-info"><p>Lists all Products matching the provided Code System and Name</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_products_codesystems__codeSystem__codes__codeName__get_request" data-toggle="tab">Request</a></li><li><a href="#_products_codesystems__codeSystem__codes__codeName__get_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_products_codesystems__codeSystem__codes__codeName__get_request"><h3>URI Parameters</h3><ul><li><strong>The code system to list products for</strong>: <em>required (string )</em></li><li><strong>The Code to list Products for.</strong>: <em>required (string )</em></li></ul></div><div class="tab-pane" id="_products_codesystems__codeSystem__codes__codeName__get_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The requested Product was found and is returned in the body.</p><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "array",
    "description": "a collection of products",
    "items": { "$ref": "product" }
}</code></pre><p><strong>Example</strong>:</p><pre><code>[
  {
    "status" : "ACTIVE",
    "name" : "Product Name",
    "displayName" : "Product Displayname",
    "description : "Product Description",
    "creationTime": 1425410281000,
    "updateTime": 1425410281000,
    "updatedByHsaid" : "SE2321000016-1HF3",
    "codes": [
      {
        "oid" : "1.2.4.5",
        "code" : "157H",
        "description" : "Code description",
        "displayName" : "Code displayname",
        "codeSystem" : "Name of the Code System indicated by the OID"
      }
    ]
  }
]
</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h3 id="_codesystems" class="panel-title">CodeSystemService</h3></div><div class="panel-body"><div class="top-resource-description"><p>Service for creating, updating, reading code systems.</p></div><div class="panel-group"><div class="panel panel-white"><div class="panel-heading"><h4 class="panel-title"><a class="collapsed" data-toggle="collapse" href="#panel__codesystems"><span class="parent"></span>/codesystems</a> <span class="methods"><a href="#_codesystems_get"><span class="badge badge_get">get</span></a> <a href="#_codesystems_post"><span class="badge badge_post">post</span></a> <a href="#_codesystems_put"><span class="badge badge_put">put</span></a></span></h4></div><div id="panel__codesystems" class="panel-collapse collapse"><div class="panel-body"><div class="list-group"><div onclick="window.location.href = '#_codesystems_get'" class="list-group-item"><span class="badge badge_get">get</span><div class="method_description"><p>List all stored code systems</p></div><div class="clearfix"></div></div><div onclick="window.location.href = '#_codesystems_post'" class="list-group-item"><span class="badge badge_post">post</span><div class="method_description"><p>Create a new code system</p></div><div class="clearfix"></div></div><div onclick="window.location.href = '#_codesystems_put'" class="list-group-item"><span class="badge badge_put">put</span><div class="method_description"><p>Update a code system</p></div><div class="clearfix"></div></div></div></div></div><div class="modal fade" tabindex="0" id="_codesystems_get"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_get">get</span> <span class="parent"></span>/codesystems</h4></div><div class="modal-body"><div class="alert alert-info"><p>List all stored code systems</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_codesystems_get_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_codesystems_get_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The requested code system information was found and is returned in the body.</p><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "array",
    "description": "a collection of code systems",
    "items": { "$ref": "codeSystem" }
}</code></pre><p><strong>Example</strong>:</p><pre><code>[
  {
    "codes": [
      {
        "code": "1512",
        "codeSystem": null,
        "description": "Verksamhet d\u00e4r man erbjuder v\u00e5rd till personer som traumatiserats av krig och tortyr.",
        "displayName": "Krigs- och tortyrskadev\u00e5rd",
        "oid": "1.2.752.129.2.2.1.3"
      },
      {
        "code": "1335",
        "codeSystem": null,
        "description": "Verksamhet d\u00e4r man handl\u00e4gger \u00f6gonsjukdomar.",
        "displayName": "\u00d6gonsjukv\u00e5rd",
        "oid": "1.2.752.129.2.2.1.3"
      }
    ],
    "description": "Koder f\u00f6r v\u00e5rdtyper enligt SLL-EK",
    "name": "SLL-EK v\u00e5rdtyper",
    "oid": "1.2.752.97.3.1.11"
  }
]
</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex="0" id="_codesystems_post"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_post">post</span> <span class="parent"></span>/codesystems</h4></div><div class="modal-body"><div class="alert alert-info"><p>Create a new code system</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_codesystems_post_request" data-toggle="tab">Request</a></li><li><a href="#_codesystems_post_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_codesystems_post_request"><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "object",
    "description": "A code system creation request",
    "properties": {
      "oid": { "type": "string", "required": true },
      "name": { "type": "string", "required": false },
      "description": { "type": "string", "required": false }
    }
}</code></pre><p><strong>Example</strong>:</p><pre><code>{
  "oid" : "6.2.9.364.123.7",
  "name : "Koder för klassificering av struturell papperstäthet i beganade kaffemuggar",
  "description" : "En beskrivning"
}
</code></pre></div><div class="tab-pane" id="_codesystems_post_response"><h2>HTTP status code <a href="http://httpstatus.es/201" target="_blank">201</a></h2><p>Creation successful.</p></div></div></div></div></div></div><div class="modal fade" tabindex="0" id="_codesystems_put"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_put">put</span> <span class="parent"></span>/codesystems</h4></div><div class="modal-body"><div class="alert alert-info"><p>Update a code system</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_codesystems_put_request" data-toggle="tab">Request</a></li><li><a href="#_codesystems_put_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_codesystems_put_request"><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "object",
    "description": "A code system creation request",
    "properties": {
      "oid": { "type": "string", "required": true },
      "name": { "type": "string", "required": false },
      "description": { "type": "string", "required": false }
    }
}</code></pre><p><strong>Example</strong>:</p><pre><code>{
  "oid" : "6.2.9.364.123.7",
  "name : "Koder för klassificering av struturell papperstäthet i beganade kaffemuggar",
  "description" : "En beskrivning"
}
</code></pre></div><div class="tab-pane" id="_codesystems_put_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>Update successful.</p></div></div></div></div></div></div></div><div class="panel panel-white"><div class="panel-heading"><h4 class="panel-title"><a class="collapsed" data-toggle="collapse" href="#panel__codesystems__codeSystem_"><span class="parent">/codesystems</span>/{codeSystem}</a> <span class="methods"><a href="#_codesystems__codeSystem__get"><span class="badge badge_get">get</span></a> <a href="#_codesystems__codeSystem__delete"><span class="badge badge_delete">delete</span></a></span></h4></div><div id="panel__codesystems__codeSystem_" class="panel-collapse collapse"><div class="panel-body"><div class="resource-description"><p>Service for managing a specific code system</p></div><div class="list-group"><div onclick="window.location.href = '#_codesystems__codeSystem__get'" class="list-group-item"><span class="badge badge_get">get</span><div class="method_description"><p>Reads information about the code system with the specified OID</p></div><div class="clearfix"></div></div><div onclick="window.location.href = '#_codesystems__codeSystem__delete'" class="list-group-item"><span class="badge badge_delete">delete</span><div class="method_description"><p>Delete the code system with the specified OID</p></div><div class="clearfix"></div></div></div></div></div><div class="modal fade" tabindex="0" id="_codesystems__codeSystem__get"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_get">get</span> <span class="parent">/codesystems</span>/{codeSystem}</h4></div><div class="modal-body"><div class="alert alert-info"><p>Reads information about the code system with the specified OID</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_codesystems__codeSystem__get_request" data-toggle="tab">Request</a></li><li><a href="#_codesystems__codeSystem__get_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_codesystems__codeSystem__get_request"><h3>URI Parameters</h3><ul><li><strong>The OID of the Code System to operate on.</strong>: <em>required (string )</em></li></ul></div><div class="tab-pane" id="_codesystems__codeSystem__get_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The requested code system was found and is returned in the body.</p><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "object",
    "description": "A single code system",
    "properties": {
      "oid": { "type": "string", "required": true },
      "name": { "type": "string", "required": false },
      "description": { "type": "string", "required": false },
      "codes": { "$ref": "codeList" }
    }
}</code></pre><p><strong>Example</strong>:</p><pre><code>{
  "codes": [
    {
      "code": "1512",
      "codeSystem": null,
      "description": "Verksamhet d\u00e4r man erbjuder v\u00e5rd till personer som traumatiserats av krig och tortyr.",
      "displayName": "Krigs- och tortyrskadev\u00e5rd",
      "oid": "1.2.752.129.2.2.1.3"
    },
    {
      "code": "1335",
      "codeSystem": null,
      "description": "Verksamhet d\u00e4r man handl\u00e4gger \u00f6gonsjukdomar.",
      "displayName": "\u00d6gonsjukv\u00e5rd",
      "oid": "1.2.752.129.2.2.1.3"
    }
  ],
  "description": "Koder f\u00f6r v\u00e5rdtyper enligt SLL-EK",
  "name": "SLL-EK v\u00e5rdtyper",
  "oid": "1.2.752.97.3.1.11"
}
</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex="0" id="_codesystems__codeSystem__delete"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_delete">delete</span> <span class="parent">/codesystems</span>/{codeSystem}</h4></div><div class="modal-body"><div class="alert alert-info"><p>Delete the code system with the specified OID</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_codesystems__codeSystem__delete_request" data-toggle="tab">Request</a></li><li><a href="#_codesystems__codeSystem__delete_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_codesystems__codeSystem__delete_request"><h3>URI Parameters</h3><ul><li><strong>The OID of the Code System to operate on.</strong>: <em>required (string )</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
  "$schema": "http://json-schema.org/draft-03/schema",
  "type": "object",
  "description": "A delete request for a single code system",
  "properties": {
    "oid": { "type": "string", "required": true }
  }
}</code></pre><p><strong>Example</strong>:</p><pre><code>{
  "oid" : "1.5.2.6.8.3.3"
}
</code></pre></div><div class="tab-pane" id="_codesystems__codeSystem__delete_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The deletion was successful</p></div></div></div></div></div></div></div><div class="panel panel-white"><div class="panel-heading"><h4 class="panel-title"><a class="collapsed" data-toggle="collapse" href="#panel__codesystems__codeSystem__codes"><span class="parent">/codesystems/{codeSystem}</span>/codes</a> <span class="methods"><a href="#_codesystems__codeSystem__codes_get"><span class="badge badge_get">get</span></a> <a href="#_codesystems__codeSystem__codes_post"><span class="badge badge_post">post</span></a> <a href="#_codesystems__codeSystem__codes_put"><span class="badge badge_put">put</span></a> <a href="#_codesystems__codeSystem__codes_delete"><span class="badge badge_delete">delete</span></a></span></h4></div><div id="panel__codesystems__codeSystem__codes" class="panel-collapse collapse"><div class="panel-body"><div class="list-group"><div onclick="window.location.href = '#_codesystems__codeSystem__codes_get'" class="list-group-item"><span class="badge badge_get">get</span><div class="method_description"><p>Fetches all the codes for the specified Code System OID.</p></div><div class="clearfix"></div></div><div onclick="window.location.href = '#_codesystems__codeSystem__codes_post'" class="list-group-item"><span class="badge badge_post">post</span><div class="method_description"><p>Creates a new code entry in the specified Code System.</p></div><div class="clearfix"></div></div><div onclick="window.location.href = '#_codesystems__codeSystem__codes_put'" class="list-group-item"><span class="badge badge_put">put</span><div class="method_description"><p>Updates a code entry in the specified Code System.</p></div><div class="clearfix"></div></div><div onclick="window.location.href = '#_codesystems__codeSystem__codes_delete'" class="list-group-item"><span class="badge badge_delete">delete</span><div class="method_description"><p>Delete a code with the specfied Code System.</p></div><div class="clearfix"></div></div></div></div></div><div class="modal fade" tabindex="0" id="_codesystems__codeSystem__codes_get"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_get">get</span> <span class="parent">/codesystems/{codeSystem}</span>/codes</h4></div><div class="modal-body"><div class="alert alert-info"><p>Fetches all the codes for the specified Code System OID.</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_codesystems__codeSystem__codes_get_request" data-toggle="tab">Request</a></li><li><a href="#_codesystems__codeSystem__codes_get_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_codesystems__codeSystem__codes_get_request"><h3>URI Parameters</h3><ul><li><strong>The OID of the Code System to operate on.</strong>: <em>required (string )</em></li></ul></div><div class="tab-pane" id="_codesystems__codeSystem__codes_get_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The requested Code System was found and its Codes are returned in the body.</p><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "array",
    "description": "a collection of product references",
    "items": { "$ref": "codeSystemCode" }
}</code></pre><p><strong>Example</strong>:</p><pre><code>[
  {
    "oid" : "1.2.4.5",
    "code" : "157H",
    "description" : "Code description",
    "displayName" : "Code displayname",
    "CodeSystem" : "Name of the Code System indicated by the OID"
  }
]
</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex="0" id="_codesystems__codeSystem__codes_post"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_post">post</span> <span class="parent">/codesystems/{codeSystem}</span>/codes</h4></div><div class="modal-body"><div class="alert alert-info"><p>Creates a new code entry in the specified Code System.</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_codesystems__codeSystem__codes_post_request" data-toggle="tab">Request</a></li><li><a href="#_codesystems__codeSystem__codes_post_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_codesystems__codeSystem__codes_post_request"><h3>URI Parameters</h3><ul><li><strong>The OID of the Code System to operate on.</strong>: <em>required (string )</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "object",
    "description": "A creation request for a single Code",
    "properties": {
        "code": { "type": "string", "required": true },
        "description": { "type": "string", "required": false },
        "displayName": { "type": "string", "required": false }
    }
}</code></pre><p><strong>Example</strong>:</p><pre><code>{
  "code": "1335",
  "description": "Verksamhet d\u00e4r man handl\u00e4gger \u00f6gonsjukdomar.",
  "displayName": "\u00d6gonsjukv\u00e5rd"
}
</code></pre></div><div class="tab-pane" id="_codesystems__codeSystem__codes_post_response"><h2>HTTP status code <a href="http://httpstatus.es/201" target="_blank">201</a></h2><p>Creation successful.</p></div></div></div></div></div></div><div class="modal fade" tabindex="0" id="_codesystems__codeSystem__codes_put"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_put">put</span> <span class="parent">/codesystems/{codeSystem}</span>/codes</h4></div><div class="modal-body"><div class="alert alert-info"><p>Updates a code entry in the specified Code System.</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_codesystems__codeSystem__codes_put_request" data-toggle="tab">Request</a></li><li><a href="#_codesystems__codeSystem__codes_put_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_codesystems__codeSystem__codes_put_request"><h3>URI Parameters</h3><ul><li><strong>The OID of the Code System to operate on.</strong>: <em>required (string )</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "object",
    "description": "A creation request for a single Code",
    "properties": {
        "code": { "type": "string", "required": true },
        "description": { "type": "string", "required": false },
        "displayName": { "type": "string", "required": false }
    }
}</code></pre><p><strong>Example</strong>:</p><pre><code>{
  "code": "1335",
  "description": "Verksamhet d\u00e4r man handl\u00e4gger \u00f6gonsjukdomar.",
  "displayName": "\u00d6gonsjukv\u00e5rd"
}
</code></pre></div><div class="tab-pane" id="_codesystems__codeSystem__codes_put_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>Update successful.</p></div></div></div></div></div></div><div class="modal fade" tabindex="0" id="_codesystems__codeSystem__codes_delete"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_delete">delete</span> <span class="parent">/codesystems/{codeSystem}</span>/codes</h4></div><div class="modal-body"><div class="alert alert-info"><p>Delete a code with the specfied Code System.</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_codesystems__codeSystem__codes_delete_request" data-toggle="tab">Request</a></li><li><a href="#_codesystems__codeSystem__codes_delete_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_codesystems__codeSystem__codes_delete_request"><h3>URI Parameters</h3><ul><li><strong>The OID of the Code System to operate on.</strong>: <em>required (string )</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
  "$schema": "http://json-schema.org/draft-03/schema",
  "type": "object",
  "description": "A delete request for a code",
  "properties": {
    "code": { "type": "string", "required": true }
  }
}</code></pre><p><strong>Example</strong>:</p><pre><code>{
  "code" : "1337"
}
</code></pre></div><div class="tab-pane" id="_codesystems__codeSystem__codes_delete_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The deletion was successful</p></div></div></div></div></div></div></div><div class="panel panel-white"><div class="panel-heading"><h4 class="panel-title"><a class="collapsed" data-toggle="collapse" href="#panel__codesystems__codeSystem__codes__name_"><span class="parent">/codesystems/{codeSystem}/codes</span>/{name}</a> <span class="methods"><a href="#_codesystems__codeSystem__codes__name__get"><span class="badge badge_get">get</span></a></span></h4></div><div id="panel__codesystems__codeSystem__codes__name_" class="panel-collapse collapse"><div class="panel-body"><div class="list-group"><div onclick="window.location.href = '#_codesystems__codeSystem__codes__name__get'" class="list-group-item"><span class="badge badge_get">get</span><div class="method_description"><p>Find codes by codeSystem and codeName, codeName will be used with wildcards.</p></div><div class="clearfix"></div></div></div></div></div><div class="modal fade" tabindex="0" id="_codesystems__codeSystem__codes__name__get"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_get">get</span> <span class="parent">/codesystems/{codeSystem}/codes</span>/{name}</h4></div><div class="modal-body"><div class="alert alert-info"><p>Find codes by codeSystem and codeName, codeName will be used with wildcards.</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_codesystems__codeSystem__codes__name__get_request" data-toggle="tab">Request</a></li><li><a href="#_codesystems__codeSystem__codes__name__get_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_codesystems__codeSystem__codes__name__get_request"><h3>URI Parameters</h3><ul><li><strong>The OID of the Code System to operate on.</strong>: <em>required (string )</em></li><li><strong>The code name to operate on</strong>: <em>required (string )</em></li></ul></div><div class="tab-pane" id="_codesystems__codeSystem__codes__name__get_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "object",
    "description": "A service response for a single Code",
    "properties": {
        "code": { "type": "string", "required": true },
        "displayName": { "type": "string", "required": true },
        "description": { "type": "string", "required": false },
        "oid": { "type": "string", "required": true }
    }
}</code></pre><p><strong>Example</strong>:</p><pre><code>{
  "code" : "157H",
  "displayName" : "Code displayname",
  "description" : "Code description",
  "oid" : "1.2.4.5"
}
</code></pre></div></div></div></div></div></div></div><div class="panel panel-white"><div class="panel-heading"><h4 class="panel-title"><a class="collapsed" data-toggle="collapse" href="#panel__codesystems_codes"><span class="parent">/codesystems</span>/codes</a> <span class="methods"><a href="#_codesystems_codes_get"><span class="badge badge_get">get</span></a></span></h4></div><div id="panel__codesystems_codes" class="panel-collapse collapse"><div class="panel-body"><div class="list-group"><div onclick="window.location.href = '#_codesystems_codes_get'" class="list-group-item"><span class="badge badge_get">get</span><div class="method_description"><p>Fetches all the codes for all the code systems.</p></div><div class="clearfix"></div></div></div></div></div><div class="modal fade" tabindex="0" id="_codesystems_codes_get"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_get">get</span> <span class="parent">/codesystems</span>/codes</h4></div><div class="modal-body"><div class="alert alert-info"><p>Fetches all the codes for all the code systems.</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_codesystems_codes_get_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_codesystems_codes_get_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The requested Codes are returned in the body.</p><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "array",
    "description": "a collection of product references",
    "items": { "$ref": "codeSystemCode" }
}</code></pre><p><strong>Example</strong>:</p><pre><code>[
  {
    "oid" : "1.2.4.5",
    "code" : "157H",
    "description" : "Code description",
    "displayName" : "Code displayname",
    "CodeSystem" : "Name of the Code System indicated by the OID"
  }
]
</code></pre></div></div></div></div></div></div></div><div class="panel panel-white"><div class="panel-heading"><h4 class="panel-title"><a class="collapsed" data-toggle="collapse" href="#panel__codesystems_codes__name_"><span class="parent">/codesystems/codes</span>/{name}</a> <span class="methods"><a href="#_codesystems_codes__name__get"><span class="badge badge_get">get</span></a></span></h4></div><div id="panel__codesystems_codes__name_" class="panel-collapse collapse"><div class="panel-body"><div class="list-group"><div onclick="window.location.href = '#_codesystems_codes__name__get'" class="list-group-item"><span class="badge badge_get">get</span><div class="method_description"><p>Find codes by name, regardless of code system</p></div><div class="clearfix"></div></div></div></div></div><div class="modal fade" tabindex="0" id="_codesystems_codes__name__get"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_get">get</span> <span class="parent">/codesystems/codes</span>/{name}</h4></div><div class="modal-body"><div class="alert alert-info"><p>Find codes by name, regardless of code system</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_codesystems_codes__name__get_request" data-toggle="tab">Request</a></li><li><a href="#_codesystems_codes__name__get_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_codesystems_codes__name__get_request"><h3>URI Parameters</h3><ul><li><strong>The code name to operate on</strong>: <em>required (string )</em></li></ul></div><div class="tab-pane" id="_codesystems_codes__name__get_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The requested Codes are returned in the body.</p><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "array",
    "description": "a collection of product references",
    "items": { "$ref": "codeSystemCode" }
}</code></pre><p><strong>Example</strong>:</p><pre><code>[
  {
    "oid" : "1.2.4.5",
    "code" : "157H",
    "description" : "Code description",
    "displayName" : "Code displayname",
    "CodeSystem" : "Name of the Code System indicated by the OID"
  }
]
</code></pre></div></div></div></div></div></div></div><div class="panel panel-white"><div class="panel-heading"><h4 class="panel-title"><a class="collapsed" data-toggle="collapse" href="#panel__codesystems_codes_displaynamecontains__displayName_"><span class="parent">/codesystems/codes</span>/displaynamecontains/{displayName}</a> <span class="methods"><a href="#_codesystems_codes_displaynamecontains__displayName__get"><span class="badge badge_get">get</span></a></span></h4></div><div id="panel__codesystems_codes_displaynamecontains__displayName_" class="panel-collapse collapse"><div class="panel-body"><div class="list-group"><div onclick="window.location.href = '#_codesystems_codes_displaynamecontains__displayName__get'" class="list-group-item"><span class="badge badge_get">get</span><div class="method_description"><p>List all Codes whos name contains the provided string, regardless of Code System.</p></div><div class="clearfix"></div></div></div></div></div><div class="modal fade" tabindex="0" id="_codesystems_codes_displaynamecontains__displayName__get"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_get">get</span> <span class="parent">/codesystems/codes</span>/displaynamecontains/{displayName}</h4></div><div class="modal-body"><div class="alert alert-info"><p>List all Codes whos name contains the provided string, regardless of Code System.</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_codesystems_codes_displaynamecontains__displayName__get_request" data-toggle="tab">Request</a></li><li><a href="#_codesystems_codes_displaynamecontains__displayName__get_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_codesystems_codes_displaynamecontains__displayName__get_request"><h3>URI Parameters</h3><ul><li><strong>The code name to operate on</strong>: <em>required (string )</em></li></ul></div><div class="tab-pane" id="_codesystems_codes_displaynamecontains__displayName__get_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The requested Code information was found and is returned in the body.</p><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "array",
    "description": "a collection of product references",
    "items": { "$ref": "codeSystemCode" }
}</code></pre><p><strong>Example</strong>:</p><pre><code>[
  {
    "oid" : "1.2.4.5",
    "code" : "157H",
    "description" : "Code description",
    "displayName" : "Code displayname",
    "CodeSystem" : "Name of the Code System indicated by the OID"
  }
]
</code></pre></div></div></div></div></div></div></div><div class="panel panel-white"><div class="panel-heading"><h4 class="panel-title"><a class="collapsed" data-toggle="collapse" href="#panel__codesystems_codes_descriptioncontains__description_"><span class="parent">/codesystems/codes</span>/descriptioncontains/{description}</a> <span class="methods"><a href="#_codesystems_codes_descriptioncontains__description__get"><span class="badge badge_get">get</span></a></span></h4></div><div id="panel__codesystems_codes_descriptioncontains__description_" class="panel-collapse collapse"><div class="panel-body"><div class="list-group"><div onclick="window.location.href = '#_codesystems_codes_descriptioncontains__description__get'" class="list-group-item"><span class="badge badge_get">get</span><div class="method_description"><p>List all Codes whos description contains the provided string, regardless of Code System.</p></div><div class="clearfix"></div></div></div></div></div><div class="modal fade" tabindex="0" id="_codesystems_codes_descriptioncontains__description__get"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title" id="myModalLabel"><span class="badge badge_get">get</span> <span class="parent">/codesystems/codes</span>/descriptioncontains/{description}</h4></div><div class="modal-body"><div class="alert alert-info"><p>List all Codes whos description contains the provided string, regardless of Code System.</p></div><ul class="nav nav-tabs"><li class="active"><a href="#_codesystems_codes_descriptioncontains__description__get_request" data-toggle="tab">Request</a></li><li><a href="#_codesystems_codes_descriptioncontains__description__get_response" data-toggle="tab">Response</a></li></ul><div class="tab-content"><div class="tab-pane active" id="_codesystems_codes_descriptioncontains__description__get_request"><h3>URI Parameters</h3><ul><li><strong>The code description to operate on</strong>: <em>required (string )</em></li></ul></div><div class="tab-pane" id="_codesystems_codes_descriptioncontains__description__get_response"><h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2><p>The requested Code information was found and is returned in the body.</p><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
    "$schema": "http://json-schema.org/draft-03/schema",
    "type": "array",
    "description": "a collection of product references",
    "items": { "$ref": "codeSystemCode" }
}</code></pre><p><strong>Example</strong>:</p><pre><code>[
  {
    "oid" : "1.2.4.5",
    "code" : "157H",
    "description" : "Code description",
    "displayName" : "Code displayname",
    "CodeSystem" : "Name of the Code System indicated by the OID"
  }
]</code></pre></div></div></div></div></div></div></div></div></div></div></div><div class="col-md-3"><div id="sidebar" class="hidden-print affix" role="complementary"><ul class="nav nav-pills nav-stacked"><li><a href="#_products">ProductService</a></li><li><a href="#_codesystems">CodeSystemService</a></li></ul></div></div></div></div></body></html>